/*
 * SymtableEntry.cpp
 *
 *  Created on: 22.11.2010
 *      Author: luckfish
 */

#include "SymtableEntry.h"

SymtableEntry::SymtableEntry(Token* entry) {
	this->entry = entry;
	this->next = 0x00;
}

SymtableEntry::~SymtableEntry() {
}

bool SymtableEntry::hasNext() {
	return this->next == 0x00;
}

SymtableEntry* SymtableEntry::getNext() {
	return this->next;
}

void SymtableEntry::setNext(SymtableEntry* next) {
	this->next = next;
}

bool SymtableEntry::equals(SymtableEntry* symtableEntry) {
	return this->entry->equals(symtableEntry->entry);
}
